<?php
namespace app\controller;

use think\Controller;

class Wtf extends Controller
{
    /**
     * 当不存在的controller和action时
     * @return \think\response\Json
     */
    public function index()
    {
        return json(['ret' => 666, 'msg' => 'page not found']);
    }
}
